#ifndef _SERVEUR_H
#define _SERVEUR_H

#include "hash_table.h"
#include "client.h"
#include <sys/types.h>
#include <sys/socket.h>
#include <sys/stat.h>
#include <netinet/in.h>

struct srv {
  struct hash_table * t;
  int sock; 
  struct client * c;
};

int sockfd;
struct sockaddr_in cli_addr;
socklen_t clilen;

void supprimer_fichier(struct srv * s);
void supprimer_client(struct srv *s);
#endif
